package com.shopx.auth.dao.db1;


import com.shopx.auth.bean.SysRole;
import com.shopx.auth.model.SysRoleModel;
import com.shopx.dal.mysql.SqlMapper;

import java.util.List;

@SqlMapper
public interface SysRoleDao {
  int insertSelective(SysRole sysRole);

  int updateByPrimaryKeySelective(SysRole sysRole);

  int deleteByPrimaryKey(SysRole sysRole);

  SysRoleModel selectByPrimaryKey(SysRole sysRole);

  int selectCount(SysRoleModel sysRole);

  List<SysRoleModel> selectList(SysRoleModel sysRole);

  SysRole selectByCode(SysRole sysRole);

  void deleteBatch(List<SysRole> list);
}

